package com.sany.taskmanager.global;

public class Key {

    public static final class IntentKey {
        /**
         * 扫码结果：物料编码
         */
        public static final String MATERIAL_NUM = "materialNum";
        /**
         * 从哪个activity跳转到扫描页面的
         */
        public static final String ACTIVITY_INDEX = "activityIndex";
    }

    public static final class SharedKey {
        /**
         * 是否登录
         */
        public static final String IS_LOGIN = "isLogin";
        /**
         * 是否保存用户名
         */
        public static final String IS_SAVE_USERNAME = "isSaveUsername";
        /**
         * 保存的用户名
         */
        public static final String USERNAME = "username";
        /**
         * 登录成功后，保存服务端返回的token
         */
        public static final String TOKEN = "token";
        /**
         * IP地址
         */
        public static final String IP = "ip";
        /**
         * 厂区编码
         */
        public static final String FACTORY_CODE = "factoryCode";
    }

    public static final class ColorTypeKey {
        /**
         * 颜色值：红 灰 白 绿 黄 蓝 紫 黑 粉
         */
        public static final int COLOR_RED = 1;
        public static final int COLOR_GRAY = 2;
        public static final int COLOR_WHITE = 3;
        public static final int COLOR_GREEN = 4;
        public static final int COLOR_YELLOW = 5;
        public static final int COLOR_BLUE = 6;
        public static final int COLOR_PURPLE = 7;
        public static final int COLOR_BLACK = 8;
        public static final int COLOR_PINK = 9;


    }
}
